package iotest;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

/**
 * Created with IntelliJ IDEA.
 * User: leep
 * Date: 15-2-11
 * Time: 下午3:22
 * To change this template use File | Settings | File Templates.
 */
public class Main {
	public static void main(String[] args) throws IOException {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader reader = new BufferedReader(isr);
		String s = "";
		while (!s.equals("close")) {
			s = reader.readLine();
			System.out.println(s);
		}
	}
}
